glcontext: Store the buffer age regions in the GL context
authorBenjamin Otte <otte@redhat.com>
Sun, 8 Apr 2018 22:58:31 +0000 (00:58 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 8 Apr 2018 23:00:31 +0000 (01:00 +0200)
commitbb8f6f87ae0fa65c1f9747e5bc6978d790d6230a
tree1c626d8dd9b478b0e82b46d0bc72863d34795613
parentc8e38c606536316e25ad565755a2163b3320afe7
glcontext: Store the buffer age regions in the GL context

That way, we can store the right region there: The actual painted area
instead of the exposed area (which is way too small).

Also, the GL context is the only user of this data, so storing it there
seems way smarter.
gdk/gdkglcontext.c
gdk/gdkglcontextprivate.h
gdk/gdkinternals.h
gdk/gdksurface.c
gdk/wayland/gdkglcontext-wayland.c
gdk/x11/gdkglcontext-x11.c